ArcGIS Runtime SDK for WPF - Library Reference
GeneralizeTaskAsync(IList<Graphic>,GeneralizeParameters,CancellationToken) Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > GeometryService Class > GeneralizeTaskAsync Method : GeneralizeTaskAsync(IList<Graphic>,GeneralizeParameters,CancellationToken) Method

graphics
The collection of polylines and polygons to be generalized.
parameters
Parameters contains additional properties that defines how the generalize task will be preformed.
cancellationToken
The cancellation token.
Applies Douglas-Poiker generalization to the input polylines and polygons.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GeneralizeTaskAsync( _
   ByVal graphics As IList(Of Graphic), _
   ByVal parameters As GeneralizeParameters, _
   ByVal cancellationToken As CancellationToken _
) As Task(Of GeneralizeResult)

Parameters

graphics
The collection of polylines and polygons to be generalized.
parameters
Parameters contains additional properties that defines how the generalize task will be preformed.
cancellationToken
The cancellation token.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.